package com.kidala;

import java.util.LinkedList;
import java.util.List;

public class ExtDataTable {

	private List<Person> personList;
	
	public ExtDataTable() {
		Person person1 = new Person();
		person1.setFirstName("Chris");
		person1.setLastName("Rea");
		person1.setAge(30);
		person1.setMature(true);
		Person person2 = new Person();
		person2.setFirstName("Not");
		person2.setLastName("Important");
		person2.setAge(15);
		person2.setMature(false);
		Person person3 = new Person();
		
		setPersonList(new LinkedList<Person>());
		getPersonList().add(person1);
		getPersonList().add(person2);
		getPersonList().add(person3);
	}

	public void setPersonList(List<Person> personList) {
		this.personList = personList;
	}

	public List<Person> getPersonList() {
		return personList;
	}
	
	
}
